package com.nulldev.util.scripting.ScriptAPI.baseJS;

public enum BaseJSStatus {
	/**
	 * baseJS is well...well... doing nothing really, it's ready to barely run some
	 * JavaScript.
	 */
	IDLE,
	/**
	 * baseJS is processing the string you gave, it's making sure it can run the
	 * code fully.
	 */
	COMPILING,
	/**
	 * baseJS is finishing up the compiliation process.
	 */
	PROCESSING,
	/**
	 * baseJS is running what you gave it.
	 */
	EXECUTING,
	/**
	 * baseJS is clearing up it's memory allocator.
	 */
	FINISHING,
	/**
	 * baseJS has finished executing and is ready for another task. <br>
	 * 
	 * @see com.nulldev.util.scripting.ScriptAPI.baseJS.BaseJS.IDLE
	 */
	FINISHED_IDLE,
	/**
	 * baseJS encountered an error and is now burning in a dumpster, you probably
	 * tried to call this. <br>
	 * <code>
	 * var thing = { <br>
	 * <br>
	 * }; <br>
	 * </code> or this <br>
	 * <code>
	 * var otherThing = "testing".toString(); <br>
	 * </code> baseJS now behaves as if it was in the <code>IDLE</code> state.
	 */
	PANICING,
}
